This function will clear the specified animation track of all animations, ready to be re-assigned.
skeleton_animation_clear(track);
| Argument | Description |
|---|---|
| track | The animation track to clear. |
N/A
if mouse_check_button(mb_right)
{
skeleton_animation_clear(1);
}
The above code will clear the animation track 1 if the right mouse button is pressed.